package service;

import java.util.List;

import dao.GenreHome;
import dao.MovieHome;
import dao.VideoHome;

import pojo.Genre;
import pojo.Movie;
import pojo.Trailer;
import pojo.Video;



/**
 * Movie service Interface
 * @author Gang
 *
 */
public interface IMovieService {
 
    
    public void setMovieDAO(MovieHome movieDAO);

    public void setVideoDAO(VideoHome videoDAO);
    
    public void setGenreDAO(GenreHome genreDAO);
    
    public Movie getMoviebyId(int movieid);
    
    public List<Movie> getAllMovies();
    
    public List<Movie> getMoviesByCatagory(int cat_id);

    public List<Movie> searchMovie(Movie moive);
    
    public boolean addMovie(Movie newMovie );
    
    public boolean hasVideo(int movie_id);
    
    public List<Video> getMovieAllVideos(int movie_id); 
    
    public List<Genre> getALLMovieGenre();
    
    public List	getALLMoiveYear();
    
    public List<Movie> searchMoviesByKeyword(String keyword);
}
